#!/bin/sh
ORACLE_BASE=/oracle/app/oracle
export ORACLE_BASE
ORACLE_SID=TEST
export ORACLE_SID
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_HOME

TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN

PATH=$ORACLE_HOME/bin:$PATH
export PATH
sqlplus /nolog << EOF  >/dev/null
conn / as sysdba
@/home/oracle/awrrpt/CXawrrpt.sql
exit
EOF
exit 0
